package com.base.cn.platform.os.dao.manage.area;

import com.base.cn.platform.os.common.mybatis.BaseDao;
import com.base.cn.platform.os.entity.manage.area.SysArea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SysAreaDao extends BaseDao<SysArea> {
    /**
     * 获取全国行政区划数据
     * @param clazz
     * @param areaType
     * @return
     */
    List<Map<String,Object>> queryUserAvailableCodeList(@Param("clazz") Class<SysArea> clazz,
                                         @Param("areaType")Integer areaType);
}
